Estimates the derivative of a signal by utilization of a second-order system as a filter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | dt |
The time step between data points. |
||
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
An N-element array containing the data whose derivative is to be estimated. |
|
| real(kind=real64), | intent(in) | :: | fc |
The filter cutoff frequency, in Hz. |
An N-element array containing the filtered signal in the first column and the derivative estimate in the second.